/*
 * Part of the ACID Project
 * Developed in 2011 by Morgan Taschuk
 */
package acid.spring.db;

/**
 *
 * @author morgan
 */
public class GeneExpressionResult implements java.io.Serializable
{

    private int gene_expression_result_id;
    private GeneAlias geneAlias;
    private Organism organism;
    private Tissue tissue;
    private double fold_change;
    private double p_value;
    private ExperimentAnalysis experimentAnalysis;

    public GeneExpressionResult(int gene_expression_result_id, GeneAlias geneAlias, Organism organism, Tissue tissue, double fold_change, double p_value, ExperimentAnalysis experimentAnalysis)
    {
        this.gene_expression_result_id = gene_expression_result_id;
        this.geneAlias = geneAlias;
        this.organism = organism;
        this.tissue = tissue;
        this.fold_change = fold_change;
        this.p_value = p_value;
        this.experimentAnalysis = experimentAnalysis;
    }

    public GeneExpressionResult(GeneAlias geneAlias, Organism organism, Tissue tissue, double fold_change, double p_value, ExperimentAnalysis experimentAnalysis)
    {
        this.geneAlias = geneAlias;
        this.organism = organism;
        this.tissue = tissue;
        this.fold_change = fold_change;
        this.p_value = p_value;
        this.experimentAnalysis = experimentAnalysis;
    }

    /**
     * Get the value of experimentAnalysis
     *
     * @return the value of experimentAnalysis
     */
    public ExperimentAnalysis getExperimentAnalysis()
    {
        return experimentAnalysis;
    }

    /**
     * Set the value of experimentAnalysis
     *
     * @param experimentAnalysis new value of experimentAnalysis
     */
    public void setExperimentAnalysis(ExperimentAnalysis experimentAnalysis)
    {
        this.experimentAnalysis = experimentAnalysis;
    }

    /**
     * Get the value of p_value
     *
     * @return the value of p_value
     */
    public double getP_value()
    {
        return p_value;
    }

    /**
     * Set the value of p_value
     *
     * @param p_value new value of p_value
     */
    public void setP_value(double p_value)
    {
        this.p_value = p_value;
    }

    /**
     * Get the value of fold_change
     *
     * @return the value of fold_change
     */
    public double getFold_change()
    {
        return fold_change;
    }

    /**
     * Set the value of fold_change
     *
     * @param fold_change new value of fold_change
     */
    public void setFold_change(double fold_change)
    {
        this.fold_change = fold_change;
    }

    /**
     * Get the value of tissue
     *
     * @return the value of tissue
     */
    public Tissue getTissue()
    {
        return tissue;
    }

    /**
     * Set the value of tissue
     *
     * @param tissue new value of tissue
     */
    public void setTissue(Tissue tissue)
    {
        this.tissue = tissue;
    }

    /**
     * Get the value of organism
     *
     * @return the value of organism
     */
    public Organism getOrganism()
    {
        return organism;
    }

    /**
     * Set the value of organism
     *
     * @param organism new value of organism
     */
    public void setOrganism(Organism organism)
    {
        this.organism = organism;
    }

    /**
     * Get the value of geneAlias
     *
     * @return the value of geneAlias
     */
    public GeneAlias getGeneAlias()
    {
        return geneAlias;
    }

    /**
     * Set the value of geneAlias
     *
     * @param geneAlias new value of geneAlias
     */
    public void setGeneAlias(GeneAlias geneAlias)
    {
        this.geneAlias = geneAlias;
    }

    /**
     * Get the value of gene_expression_result_id
     *
     * @return the value of gene_expression_result_id
     */
    public int getGene_expression_result_id()
    {
        return gene_expression_result_id;
    }

    /**
     * Set the value of gene_expression_result_id
     *
     * @param gene_expression_result_id new value of gene_expression_result_id
     */
    public void setGene_expression_result_id(int gene_expression_result_id)
    {
        this.gene_expression_result_id = gene_expression_result_id;
    }

    @Override
    public String toString()
    {
        return "GeneExpressionResult{" + "fold_change=" + fold_change + "p_value=" + p_value + '}';
                                                           }

}
